Loading...
 

MATLAB implementation of the alternating-direction solver for the bitmap projection problem

Below you can find a link to the MATLAB code that calculates the L2 bitmap projection using the isogeometric finite element method. In particular, this code implements a variable-direction solver algorithm.

The code execution is also possible in the free Octave(external link) environment.
Download code(external link) or see Appendix 4.

We set the variables with the path to the input file in tif format
\( filename = 'C://Users/Maciej/Dropbox/bitmapa.tif' \)
then we give the number of mesh elements in the x and y directions, and the degrees of the B-spline function in these directions
\( nx=4 \)
\( ny=4 \)
\( px=2 \)
\( py=2 \)
Then we start the first procedure
\( bitmap\_splitting(filename,nx,ny,px,py) \).
The code, after building the system of equations and solving it, draws the bitmap projections in the open window.

Content of exercise:
Please convert the bitmap projection code to draw projections of the area.

Ostatnio zmieniona Wtorek 09 z Listopad, 2021 12:20:43 UTC Autor: Maciej Paszynski
Zaloguj się/Zarejestruj w OPEN AGH e-podręczniki
Czy masz już hasło?

Hasło powinno mieć przynajmniej 8 znaków, litery i cyfry oraz co najmniej jeden znak specjalny.

Przypominanie hasła

Wprowadź swój adres e-mail, abyśmy mogli przesłać Ci informację o nowym haśle.
Dziękujemy za rejestrację!
Na wskazany w rejestracji adres został wysłany e-mail z linkiem aktywacyjnym.
Wprowadzone hasło/login są błędne.